package ucuenca.client;

import com.smartgwt.client.widgets.Window;
import com.smartgwt.client.widgets.Slider;
import com.smartgwt.client.widgets.Button;
import com.smartgwt.client.widgets.Canvas;
import com.smartgwt.client.widgets.Progressbar;

public class Ventana extends Window {

	public Ventana() {
		setTitle("New window");
		resizeTo(350, 200);
		
		Canvas canvas = new Canvas();
		canvas.setHeight("162px");
		
		Button btnNewButton = new Button("New Button");
		canvas.addChild(btnNewButton);
		btnNewButton.moveTo(6, 30);
		
		Progressbar progressbar = new Progressbar();
		canvas.addChild(progressbar);
		progressbar.moveTo(6, 87);
		progressbar.setPercentDone(30);
		addItem(canvas);
	}
}
